DEFAULT NET GAME
This command will automatically set up a net game in one command. It will create a game if non exists on the most suitable network connection, and join a game that already exists. It will select a LAN connection first, then a TCP/IP connection and then Serial or Modem connection. You can specify both a Game name and a Player name, as well as the number of players allowed in the game session. You can also specify a flag that determines the kind of game that will be created. Specify a game type of 1 to make the game pass host control to another player if the host leaves play. Specify a game type value of 2 if you want to create a client server game where the host player channels all communication to the other players. The command also returns the Player Number that you can use to distinguish your player from other network players.

SYNTAX
Return Integer=DEFAULT NET GAME(Gamename, Playername, Number Of Players, Game Type)

RELATED INFO
MULTIPLAYER Commands Menu
Index

EXAMPLE
View Showcase Example
View Usage Example